#include <stdio.h>
#include <stdlib.h>
#include "calc.h"


int main(int argc,char*argv[])
{
    int a = 0;
    int b = 0;
    int c = 0;
    float d=0;
if(argc <3)
{
printf("usage : ./calc paral para2\n");
return 1;
}

a =atoi(argv[1]);
b =atoi(argv[2]);

c = add(a,b);
printf("%d + %d = %d \n", a, b, c);

c = sub(a,b);
printf("%d - %d = %d \n", a, b, c);

c = mul(a,b);
printf("%d x %d = %d \n", a, b, c);

d = dive(a,b);
printf("%d / %d = %f \n", a, b, d);

   return 0;
}
